//
//  WBStatusCell.swift
//  Weibo
//
//  Created by 汪博文 on 2016/11/17.
//  Copyright © 2016年 Wbw. All rights reserved.
//

import UIKit

class WBStatusCell: UITableViewCell {
    @IBOutlet weak var iconView: UIImageView!
    @IBOutlet weak var lb_name: UILabel!
    @IBOutlet weak var rankView: UIImageView!
    @IBOutlet weak var lb_time: UILabel!
    @IBOutlet weak var lb_source: UILabel!
    @IBOutlet weak var lb_content: UILabel!
    @IBOutlet weak var vipView: UIImageView!
    
    
    //cell需要绑定数据
    var statusViewModel: WBStatusViewModel? {
        didSet {
            //设置子控件的数据
        }
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        //设置背景颜色
        self.contentView.backgroundColor = randomColor()
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
